package com.autumn.sms.service.entities.views;

import javax.persistence.Column;
import javax.persistence.Table;

import com.autumn.sms.service.entities.SmsAppTemplate;

/**
 * 应用标准模板查询
 * 
 * @author 老码农
 *
 *         2018-01-12 15:27:19
 */
@Table(name = "view_app_standard_template")
public class AppStandardTemplateView extends SmsAppTemplate {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1768179000994616921L;

	private String templateCode;
	private String templateName;
	private Integer templateStatus;
	private boolean templateIsDelete;
	
	/**
	 * 是否限制发送频率
	 */
	@Column(name = "is_restrict")
	private boolean isRestrict;
	/**
	 * 发送频率间隔秒
	 */
	private Integer restrictSeconds;
	/**
	 * 是否是短信验证码
	 */
	@Column(name = "is_verification_code")
	private boolean isVerificationCode;
	/**
	 * 短信验证码类型
	 */
	private Integer verificationCodeType;

	public boolean getIsVerificationCode() {
		return isVerificationCode;
	}

	public void setIsVerificationCode(boolean isVerificationCode) {
		this.isVerificationCode = isVerificationCode;
	}

	public Integer getVerificationCodeType() {
		return verificationCodeType;
	}

	public void setVerificationCodeType(Integer verificationCodeType) {
		this.verificationCodeType = verificationCodeType;
	}

	public boolean getIsRestrict() {
		return isRestrict;
	}

	public void setIsRestrict(boolean isRestrict) {
		this.isRestrict = isRestrict;
	}

	public Integer getRestrictSeconds() {
		return restrictSeconds;
	}

	public void setRestrictSeconds(Integer restrictSeconds) {
		this.restrictSeconds = restrictSeconds;
	}

	public String getTemplateCode() {
		return templateCode;
	}

	public void setTemplateCode(String templateCode) {
		this.templateCode = templateCode;
	}

	public String getTemplateName() {
		return templateName;
	}

	public void setTemplateName(String templateName) {
		this.templateName = templateName;
	}

	public Integer getTemplateStatus() {
		return templateStatus;
	}

	public void setTemplateStatus(Integer templateStatus) {
		this.templateStatus = templateStatus;
	}

	public boolean getTemplateIsDelete() {
		return templateIsDelete;
	}

	public void setTemplateIsDelete(boolean templateIsDelete) {
		this.templateIsDelete = templateIsDelete;
	}

}
